package com.cqupt.scanning.system.statistics.controller;


import com.cqupt.scanning.system.statistics.service.CalculatedDataFoot1Service;
import com.cqupt.scanning.system.utils.result.R;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

/**
 * <p>
 * 特征数据 前端控制器
 * </p>
 *
 * @author 宋宝梁
 * @since 2021-11-19
 */
@RestController
@RequestMapping("/statistics/calculated-data-foot1")
public class CalculatedDataFoot1Controller {
    @Autowired
    private CalculatedDataFoot1Service calculatedDataFoot1Service;

    /**
     * 获取excel数量（步态分析和平衡测试）
     * @return
     */
    @GetMapping("/excel/count")
    @ResponseBody
    public R queryExcelCount(@RequestParam(value = "beginTime") String beginTime,
                             @RequestParam(value = "endTime") String endTime) {
        return calculatedDataFoot1Service.queryExcelCount(beginTime, endTime);
    }


}

